package de.general;

class Kreis{
	int x;
	int y;
	int radius;
	
	public Kreis() {
		System.out.println("Constructor sin Argumento");
	}

	public Kreis(int x, int y, int radius) {
		System.out.println("Constructor con Argumentos");
		this.x = x;
		this.y = y;
		this.radius = radius;
	}

	@Override
	public String toString() {
		return "kreis [x=" + x + ", y=" + y + ", radius=" + radius + "]";
	}
	
}

public class Arreglos {
	
	public static void main(String[] args) {
		Kreis k1 = new Kreis();
		k1.x = 12;
		k1.y = 23;
		k1.radius = 10;
		
		System.out.println(k1);
		
		Kreis k2 = new Kreis(23, 54, 100);
		System.out.println(k2);
		
		int [] arr1 = new int[]{13,22,73};
		int [] arr2 []= {arr1, {3,6,2,0,6,12}, {2,5,6}, {1,2,3,4,5}};
		System.out.println();
		System.out.println("arr1.length: "+arr1.length);
		System.out.println("arr2.length: "+arr2.length);
		System.out.println();
		for (int i = 0; i < arr2.length; i++) {
			for (int j = 0; j < arr2[i].length; j++) {
				System.out.print(arr2[i][j] + " ");
				System.out.println(arr2[i].length);
			}
			System.out.println();
		}
		
		
		
	}

}
